#ifndef _BUFFERQUE_
#define _BUFFERQUE_

#include <inttypes.h>

#define MAXBUFFERLENGTH 128

typedef struct {
    uint8_t data[MAXBUFFERLENGTH];
    int rear;
    int front;
} bufferQue;

void bMakeEmpty(bufferQue *Q);

int bIsEmpty(bufferQue Q);

int bEnque(bufferQue *Q, uint8_t x);

int bDeque(bufferQue *Q);

int bLen(bufferQue Q);


#ifdef PC
void printBufferQue(bufferQue Q);

#endif

#endif

